package cn.zhaoguang.usedcar.main.entity.dto;

import cn.zhaoguang.usedcar.main.entity.Usedcar;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @Description 查询此用户全部的收藏
 * @Author zhaoguang
 * @Date 2021/7/4 12:42
 */
@Data
public class CollectionDTO {

    private Integer id;

    private Integer userId;

    private Integer usedcarId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date operationTime;

    private Usedcar usedcar;
}
